﻿<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String contextPath = request.getContextPath();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>汇总修改地市级报表</title>
	<link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/themes/gray/easyuia.css">
	<link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/easyUI/icon.css">
	<link rel="stylesheet" type="text/css" href="<%=contextPath%>/resources/css/report_collect.css">
	<script type="text/javascript" src="<%=contextPath%>/resources/js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/js/echarts.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/js/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/easyUI/easyui-lang-zh_CN.js"></script>
	<script type='text/javascript' src="<%=contextPath%>/resources/js/jquery.jqprint-0.3.js"></script>
	<script type="text/javascript" src='<%=contextPath%>/resources/js/views/defineTable.js'></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/js/ExportExcelDlg.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/js/collect/city.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/resources/js/collect/collectCommon.js"></script>
	<style>
		 .panel{float: left;}
		 .ml5{margin-left: 5px}
	</style>
</head>

<body id="hz_body" style="font-size: 14px;font-family:'微软雅黑';">
	<div style="margin-bottom: 10px;margin-top: 10px">
		<label class="ml5" style="color: red">报表类型*:
			<select class="easyui-combobox" name="formid"  id="formid" style="width:190px;">
				<c:forEach var="formOption" items="${formes}">
					<option value="${formOption.id}">${formOption.name}</option>
				</c:forEach>
			</select>
		 </label>

		<label class="ml5">上报年份:
			<select class="easyui-combobox"  name="yearSelect"  id="yearSelect" style="width: 100px;">
				<c:forEach var="yearOption" items="${years}">
					<option value="${yearOption}">${yearOption}</option>
				</c:forEach>
			</select>
		</label>
		<label class="ml5">地市：</label>
      	<input class="easyui-combobox" name="cityCollect_citySelect" id="cityCollect_citySelect" size="10">
		<!-- 此处导出 应传递 一个a.部门编号 的数组 以及b.年份两个参数给后台 -->
		<label class="ml5"><a href="javaScript:void(0)" onclick="query();" class="easyui-linkbutton" iconCls="icon-search">查询</a></label>
	</div>

	<div class="mb10"></div>
	<!-- 进度条START -->
	<div style="padding:0px;text-align:center;margin-bottom:15px;width:99%;">
		<div class='border_Style'>
			<p style="padding-top:5px;font-size:18px">部门上报进度条</p>
			<div id="p" class="easyui-progressbar" style="width:60%; height:30px;margin:auto;"></div>
			<table style="width:60%; height:40px;margin:auto; border-collapse: collapse; border: 1px solid #a8aeb2;">
				<tr style="border-collapse: collapse; border: 1px solid #a8aeb2;">
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;">部门数</td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;">已上报数</td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;">未上报数</td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;">报送率</td>
				</tr>
				<tr style="border-collapse: collapse; border: 1px solid #a8aeb2;">
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;"id="depNum"></td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;"id="depAlready"></td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;"id="depNot"></td>
					<td style="border-collapse: collapse; border: 1px solid #a8aeb2;"id="depProportion"></td>
				</tr>
			</table>
		</div>
	</div>
	<!-- 进度条END -->

	<div class="mb10"></div>
		<span id="hireRate_statisticalAnalysis-time" class="fr mr20"></span>
	<div class="cb"></div>
	<div class="easyui-panel" title="部门列表" style="width:99%; height: auto;" data-options="collapsible:true">
		<div id="depart_Grid"></div>
	</div>
    <div style="width:99%; ">
        <div id="target_Grid" class="easyui-panel">
            <div id="target_Grid_show" style="width:80%; height:auto;">
                <div id="target_Grid_data"></div>
            </div>
        </div>
    </div>
<%--	<div id="target_Grid" style=" display: none;width:99%;"></div>--%>

<!-- 打印START -->
<div id="print_div" style=" display: none;width:99%;">
		<div id="addView_title" class="tc mb30"><h3 style="font-size:0.3rem;" id="ih3"></h3></div>
	    	<div id="addView_head" style="padding-bottom:10px;margin-top:-20px;margin-left:70%;">
		        <ul id="iul">
		          <li  style="width:300px;">表&nbsp;&nbsp;&nbsp;号：<span id="rnumber"></span></li>
		          <li  style="width:300px;">制定机关：<span id="rmaking"></span></li>
		       <!--    <li  style="width:300px;">文&nbsp;&nbsp;&nbsp;号：<span >内统字[2016]73号</span></li> -->
		          <li  style="width:300px;">批准机关：<span >国家统计局</span></li>
		          <li  style="width:300px;">批准文号：<span id="rcode"></span></li>
		          <li  style="width:300px;">有效期至：<span id="rexpire"></span></li>
		        </ul>
	        </div>
	        <div id="addView_body">
				<table id="print_table"  border="1" width="100%" style="font-size:14px;font-family:'宋体';text-align:center; border-collapse:collapse; " frame=hsides>
					<thead >
						<tr style="margin:5px 0px; height:50px">
							<th style='text-align:center;'>指标名称</th>
							<th style='text-align:center;'>汇总代码</th>
							<th style='text-align:center;'>计量单位</th>
							<th style='text-align:center;'>小数位</th>
							<th style='text-align:center;'>上年同期</th>
							<th style='text-align:center;'>本年</th>
							<th style='text-align:center;'>资料来源</th>
							<th style='text-align:center;'>备注</th>
						</tr>
						<tr>
							<td style='text-align:center'>甲</td>
							<td>乙</td>
							<td>丙</td>
							<td>丁</td>
							<td>1</td>
							<td>2</td>
							<td>戊</td>
							<td></td>
						</tr>
					</thead>
				    <tbody id="addView_body_contents"></tbody>
	        	 </table>
	        </div>
	        <div id="addView_foot" style="width:100%;height:auto;margin-top: 10px">
		        <table style="width:100%;height:auto;">
	        		<tr>
	        			<td>单位负责人：<span class="charge"></span></td>
	        			<td>统计负责人：<span class="author"></span></td>
	        			<td>联系电话：<span class="phone"></span></td>
	        			<td>报出日期：<span class="reportDate"></span></td>
	        		</tr>
	        	</table>
		    </div>
</div> 
<!-- 打印END -->
</body>
</html>